<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>混沌修仙传</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>混沌修仙传</h1>
        <div class="controls">
            <button id="prevBtn">上一章</button>
            <div class="custom-select">
                <div class="select-header">
                    <span id="selectedChapter">第1章：灵根觉醒</span>
                    <span class="arrow">▼</span>
                </div>
                <div class="select-options">
                    <div class="mobile-select-header">
                        <div class="mobile-select-title">选择章节</div>
                        <button class="mobile-select-close">关闭</button>
                    </div>
                    <div id="chapterList" class="chapter-list"></div>
                </div>
            </div>
            <button id="nextBtn">下一章</button>
        </div>
        <div class="story-container">
            <h2 id="chapterTitle">第1章：灵根觉醒</h2>
            <div id="storyContent" class="story-content"></div>
            <div class="controls bottom-controls">
                <button id="prevBtnBottom">上一章</button>
                <button id="nextBtnBottom">下一章</button>
            </div>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>